home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / Macintosh Tracker 1.20 / source / Server⁄Tracker 4.0 / getopt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-01  |  701 b   |  36 lines  |  [TEXT/KAHL]

  1. /* getopt.h */
  2. /* $Id: getopt.h,v 4.0 1994/01/11 17:48:38 espie Exp espie $
  3.  * $Log: getopt.h,v $
  4.  * Revision 4.0  1994/01/11  17:48:38  espie
  5.  * Small changes.
  6.  *
  7.  * Revision 1.1  1993/12/26  00:55:53  Espie
  8.  * Initial revision
  9.  *
  10.  * Revision 1.4  1993/12/04  16:12:50  espie
  11.  * Prototypes only there.
  12.  *
  13.  * Revision 1.3  1993/11/17  15:31:16  espie
  14.  * *** empty log message ***
  15.  *
  16.  */
  17.  
  18. struct long_option
  19.     {
  20.     char *fulltext;
  21.     int argn;
  22.     char abbrev;
  23.     int code;
  24.     };
  25.  
  26. /* n = getlongopt(argc, argv, options):
  27.  * try to parse options out of argv, using
  28.  * ways similar to standard getopt
  29.  */
  30. XT int getlongopt P((int argc, char *argv[], struct long_option *options));
  31.  
  32. XT int optind;
  33.  
  34. XT char *optarg;
  35.  
  36.